package com.jh3502.vivo.function.dialog;

import android.os.Bundle;

import com.jh3502.vivo.R;
import com.jh3502.vivo.base.BaseActivity;
import com.jh3502.vivo.base.BasePresenter;
import com.jh3502.vivo.function.reimnew.ReimNewActivity;
import com.jh3502.vivo.function.travelnew.TravelNewActivity;
import com.jh3502.vivo.utils.Utils;

import butterknife.OnClick;

/**
 * @author harisucici
 * @version 2018/11/27 09:37
 * name
 * todo
 * @email harisucici@gmail.com
 */
public class DialogMain extends BaseActivity {
    @Override
    public BasePresenter initPresenter() {
        return null;
    }

    @Override
    protected int setViewId() {
        return R.layout.dialog_main;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void doOnDestroy() {

    }

    @Override
    protected void doOnResume() {

    }

    @Override
    protected void doOnSaveInstanceState(Bundle savedInstanceState) {

    }

    @Override
    public void responseError(int code, String msg) {

    }


    @OnClick(R.id.dialog_add_travel)
    public void onDialogAddTravelClicked() {
        Utils.getInstance().startActivity(this,TravelNewActivity.class);
    }

    @OnClick(R.id.dialog_add_submit)
    public void onDialogAddSubmitClicked() {
        Utils.getInstance().startActivity(this,ReimNewActivity.class);
    }

    @OnClick(R.id.dialog_add_close)
    public void onDialogAddCloseClicked() {
        onBackPressed();
    }
}
